QuoteText function

Syntax
QuoteText text [, line_length [, quote_char]]

Description
Puts a ">" at the beginning of every line and a <return> at the end of each line and returns the quoted text. 

You can optionally specify the maximum number of characters on each line (the default is 74). To prevent QuoteText from word-wrapping text, specify a line length equal to or larger than the text length.

If you specify a value for quote_char it will be used instead of ">". Quote_char may consist of any number of characters.

Examples
Clipboard = QuoteText Clipboard
SelectMenu "Edit","Paste"

// Save the Clipboard contents
Variable oldText
oldText = Clipboard
Type Command "c"
ConvertClip 
// Add “### ” to the beginning of each line without automatic word-wrap
Clipboard = QuoteText Clipboard, Length Clipboard, "### "
ConvertClip 1
Type Command "v"
// Restore previous Clipboard contents
Clipboard = oldText
ConvertClip 1